package com.road.controller;

/**
 * Created by hp on 2016/6/8.
 */
public abstract class BaseController {

	private static final String JSP_PREFIX = "jsp/";
	private static final String HTML_PREFIX = "html/";

	protected String renderJsp(String viewName) {
		return JSP_PREFIX + viewName;
	}

	protected String renderHtml(String viewName) {
		return HTML_PREFIX + viewName;
	}
}
